package com.wu.llpsw.event;


import net.minecraft.world.entity.player.Player;
import net.minecraftforge.event.entity.player.PlayerEvent;
import net.minecraftforge.eventbus.api.SubscribeEvent;
import net.minecraftforge.fml.common.Mod;
/**
 * 玩家重生事件
 */
@Mod.EventBusSubscriber(modid = "wu")
public class backBron {
    @SubscribeEvent
    public static void onPlayerRespawn(PlayerEvent.PlayerRespawnEvent event) {
        // 在玩家重生时触发的逻辑
        Player player=event.getPlayer();
        if(player!=null){
        }
    }
}
